/**
 * Project: lionbule-other
 * 
 * File Created at 2012-3-29
 * $Id$
 * 
 * Copyright 1999-2100 Alibaba.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Alibaba Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Alibaba.com.
 */
package com.verfy.parser;

/**
 * VerfyParser.
 * 
 * @author LionBule 2012-3-29 上午10:27:30
 */
public interface Expression {
    /**
     * 执行数据校验.
     * <p>
     * 如果data为null, 默认返回为true;
     * 如果校验表达式为空,默认返回true;
     * </p>
     * 
     * @param data
     * @return
     */
    public boolean matche(Object data);
}
